﻿<template>
	<el-dialog title="打印条码信息" :close-on-click-modal="false" :visible.sync="visible"
		class="SHZY-dialog SHZY-dialog_center" lock-scroll   width="40%">
		<SHZY-table v-loading="listLoading" :data="list" style="height: 500px;">
			<el-table-column label="条码" prop="barcode" align="left" :show-overflow-tooltip="true">
			</el-table-column>

		</SHZY-table>

	</el-dialog>
</template>
<script>
import restAPI from '@/api/q1/business/pick';
export default {
	components: {},
	props: [],
	data() {
		return {
			btnLoading: false,
			loading: false,
			visible: false,
			query: {
				barcode: undefined,
				no: undefined,
				model: undefined,
				drawingNo: undefined,
			},
			list: [

			],
			listLoading: true,
			
		
			
		}
	},
	computed: {

	},
	watch: {},
	created() {
	},
	mounted() {
	},
	methods: {
		goBack() {
			this.$emit('refresh')
		},
		init(id) {

			this.visible = true;
			this.$nextTick(() => {
				this.initData(id)
			});

		},
		initData(id) {
			this.listLoading = true;
			restAPI.qmsbusipick(id).then(res => {
				this.list = res.data
				this.listLoading = false
			
			});
		},


	}
}
</script>

<style scoped lang="scss">

::v-deep .el-dialog .el-dialog__body {
    padding: 10px !important;
}
</style>